package com.wagn.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wagn.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wagn.eduservice.entity.course.QueryCourse;
import com.wagn.eduservice.entity.vo.VoCourseInfo;
import com.wagn.eduservice.entity.vo.VoSetp3;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-08-17
 */
public interface EduCourseService extends IService<EduCourse> {

    //保存课程信息
    String saveCourseInfo(VoCourseInfo voCourseInfo);

    VoCourseInfo getInfoById(String id);

    String updateCourseInfo(VoCourseInfo voCourseInfo);

    VoSetp3 getVoStep3(String courseId);

    Page<EduCourse> pageConditionCourse(QueryCourse queryCourse);

    boolean delete(String id);

}
